package com.wangshuo.webadmin.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wangshuo.webadmin.entity.SystemUser;
import com.wangshuo.webadmin.service.SystemUserService;
import com.wangshuo.webadmin.mapper.SystemUserMapper;
import com.wangshuo.webadmin.vo.system.user.SystemUserItemVo;
import com.wangshuo.webadmin.vo.system.user.SystemUserQueryVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 13326
* @description 针对表【system_user(员工信息表)】的数据库操作Service实现
* @createDate 2025-01-21 16:43:51
*/
@Service
public class SystemUserServiceImpl extends ServiceImpl<SystemUserMapper, SystemUser>
    implements SystemUserService{
    private final SystemUserMapper systemUserMapper;

    public SystemUserServiceImpl(SystemUserMapper systemUserMapper) {
        this.systemUserMapper = systemUserMapper;
    }

    @Override
    public IPage<SystemUserItemVo> pagelist(IPage<SystemUser> page, SystemUserQueryVo queryVo){
        return systemUserMapper.pagelist(page,queryVo);
    }
    @Override
    public   SystemUserItemVo getid(Long id){
        return systemUserMapper.getid(id);
    }

}




